package com.lily.ssm.model;

public class Product {
    private Integer productId;

    private String productName;

    private String productImg;

    private Double productPrice;

    private Integer productNum;

    private String productDescrib;

    private Integer classId;

    private String ishost;

    private String isdiscount;

    private String productBrand;

    private String productBarcode;

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName == null ? null : productName.trim();
    }

    public String getProductImg() {
        return productImg;
    }

    public void setProductImg(String productImg) {
        this.productImg = productImg == null ? null : productImg.trim();
    }

    public Double getProductPrice() {
        return productPrice;
    }

    public void setProductPrice(Double productPrice) {
        this.productPrice = productPrice;
    }

    public Integer getProductNum() {
        return productNum;
    }

    public void setProductNum(Integer productNum) {
        this.productNum = productNum;
    }

    public String getProductDescrib() {
        return productDescrib;
    }

    public void setProductDescrib(String productDescrib) {
        this.productDescrib = productDescrib == null ? null : productDescrib.trim();
    }

    public Integer getClassId() {
        return classId;
    }

    public void setClassId(Integer classId) {
        this.classId = classId;
    }

    public String getIshost() {
        return ishost;
    }

    public void setIshost(String ishost) {
        this.ishost = ishost == null ? null : ishost.trim();
    }

    public String getIsdiscount() {
        return isdiscount;
    }

    public void setIsdiscount(String isdiscount) {
        this.isdiscount = isdiscount == null ? null : isdiscount.trim();
    }

    public String getProductBrand() {
        return productBrand;
    }

    public void setProductBrand(String productBrand) {
        this.productBrand = productBrand == null ? null : productBrand.trim();
    }

    public String getProductBarcode() {
        return productBarcode;
    }

    public void setProductBarcode(String productBarcode) {
        this.productBarcode = productBarcode == null ? null : productBarcode.trim();
    }

	@Override
	public String toString() {
		return "Product [productId=" + productId + ", productName="
				+ productName + ", productImg=" + productImg
				+ ", productPrice=" + productPrice + ", productNum="
				+ productNum + ", productDescrib=" + productDescrib
				+ ", classId=" + classId + ", ishost=" + ishost
				+ ", isdiscount=" + isdiscount + ", productBrand="
				+ productBrand + ", productBarcode=" + productBarcode + "]";
	}
}